runtime.hmap.buckets (field)
63 uses
runtime (current package)
map.go#L126: buckets unsafe.Pointer // array of 2^B Buckets. may be nil if count==0.
map.go#L330: h.buckets, nextOverflow = makeBucketArray(t, h.B, nil)
map.go#L420: b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map.go#L481: b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map.go#L525: b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map.go#L604: if h.buckets == nil {
map.go#L605: h.buckets = newobject(t.Bucket) // newarray(t.Bucket, 1)
map.go#L613: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map.go#L729: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map.go#L834: it.buckets = h.buckets
map.go#L1022: markBucketsEmpty(h.buckets, bucketMask(h.B))
map.go#L1045: _, nextOverflow := makeBucketArray(t, h.B, h.buckets)
map.go#L1067: oldbuckets := h.buckets
map.go#L1078: h.buckets = newbuckets
map.go#L1179: x.b = (*bmap)(add(h.buckets, oldbucket*uintptr(t.BucketSize)))
map.go#L1187: y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
map.go#L1514: dst.buckets = newobject(t.Bucket)
map.go#L1516: typedmemmove(t.Bucket, dst.buckets, src.buckets)
map.go#L1522: dst.buckets = newobject(t.Bucket)
map.go#L1527: dstBmap := (*bmap)(add(dst.buckets, uintptr(i*int(t.BucketSize))))
map.go#L1530: srcBmap := (*bmap)(add(src.buckets, uintptr((i+j)*int(t.BucketSize))))
map.go#L1556: dstBmap := (*bmap)(add(dst.buckets, (uintptr(i)&bucketMask(dst.B))*uintptr(t.BucketSize)))
map.go#L1612: copyKeys(t, h, (*bmap)(h.buckets), s, offset)
map.go#L1616: buckets := h.buckets
map.go#L1675: copyValues(t, h, (*bmap)(h.buckets), s, offset)
map.go#L1679: buckets := h.buckets
map_fast32.go#L27: b = (*bmap)(h.buckets)
map_fast32.go#L31: b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map_fast32.go#L67: b = (*bmap)(h.buckets)
map_fast32.go#L71: b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map_fast32.go#L109: if h.buckets == nil {
map_fast32.go#L110: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast32.go#L118: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_fast32.go#L199: if h.buckets == nil {
map_fast32.go#L200: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast32.go#L208: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_fast32.go#L294: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_fast32.go#L384: x.b = (*bmap)(add(h.buckets, oldbucket*uintptr(t.BucketSize)))
map_fast32.go#L392: y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
map_fast64.go#L27: b = (*bmap)(h.buckets)
map_fast64.go#L31: b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map_fast64.go#L67: b = (*bmap)(h.buckets)
map_fast64.go#L71: b = (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map_fast64.go#L109: if h.buckets == nil {
map_fast64.go#L110: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast64.go#L118: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_fast64.go#L199: if h.buckets == nil {
map_fast64.go#L200: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_fast64.go#L208: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_fast64.go#L294: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_fast64.go#L386: x.b = (*bmap)(add(h.buckets, oldbucket*uintptr(t.BucketSize)))
map_fast64.go#L394: y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
map_faststr.go#L27: b := (*bmap)(h.buckets)
map_faststr.go#L82: b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map_faststr.go#L122: b := (*bmap)(h.buckets)
map_faststr.go#L177: b := (*bmap)(add(h.buckets, (hash&m)*uintptr(t.BucketSize)))
map_faststr.go#L220: if h.buckets == nil {
map_faststr.go#L221: h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
map_faststr.go#L229: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_faststr.go#L323: b := (*bmap)(add(h.buckets, bucket*uintptr(t.BucketSize)))
map_faststr.go#L412: x.b = (*bmap)(add(h.buckets, oldbucket*uintptr(t.BucketSize)))
map_faststr.go#L420: y.b = (*bmap)(add(h.buckets, (oldbucket+newbit)*uintptr(t.BucketSize)))
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |